<template>
	<h3>组件的子类增加组件之间的数据传递</h3>
	<h3>{{title}}</h3>
	<h3>{{newArray}}</h3>
</template>

<script>
	export default{
		name:"my components child1",
		props:{
			title:{
				type:String,
				default:""
			},
			newArray:{
				type:Array,
				default:function(){
					return []
				}
			}
		}
	}
</script>

<style>
</style>